const { Schema, SchemaTypes, model } = require("mongoose")

const AdSchema = new Schema({
    name: { type: String },
    items: [{
        image: { type: String },
        url: { type: String }
    }]
})

module.exports = model("Ad", AdSchema)